import service from '@/service/request'

export function loginApi(params: object) {
    return service({
        url: '/user/login',
        method: 'post',
        data: params
    })
}
// 
export function logoutApi(params: object) {
    return service({
        url: '/user/logout',
        method: 'post',
        data: params
    })
}